﻿using System.ComponentModel;

namespace LS.Entitys.Enum
{

    /// <summary>
    /// 审批类型
    /// </summary>
    public enum FlowMainType
    {
        /// <summary>
        /// 用户
        /// </summary>
        [Description("用户")]
        FLOW_USER,
        /// <summary>
        /// 企业
        /// </summary>
        [Description("企业")]
        FLOW_COMPANY,
        /// <summary>
        /// 企业介绍
        /// </summary>
        [Description("企业介绍")]
        FLOW_COMPANY_INFO,
        /// <summary>
        /// 企业荣誉
        /// </summary>
        [Description("企业荣誉")]
        FLOW_COMPANY_HONOR,
        /// <summary>
        /// 企业产品
        /// </summary>
        [Description("企业产品")]
        FLOW_COMPANY_PRODUCT,
        /// <summary>
        /// 企业案例
        /// </summary>
        [Description("企业案例")]
        FLOW_COMPANY_CASE,
    }
    /// <summary>
    /// 审批状态
    /// </summary>
    public enum FlowStatus
    {
        /// <summary>
        /// 草稿
        /// </summary>
        [Description("草稿")]
        DRAFT,
        /// <summary>
        /// 审批中
        /// </summary>
        [Description("审批中")]
        APPROVAL_PENDING,
        /// <summary>
        /// 同意
        /// </summary>
        [Description("同意")]
        PASS,
        /// <summary>
        /// 不同意
        /// </summary>
        [Description("不同意")]
        OVERRULED,
    }

    /// <summary>
    /// 工单状态 0=新建 1= 派单 2=接单 3=开始  4=完成  5=结算 6= 回访  7=关闭 8= 拒绝  9= 取消
    /// </summary>
    public enum WorkOrderStatus
    {
        /// <summary>
        /// 新建
        /// </summary>
        [Description("新建")]
        NEW = 0,
        /// <summary>
        /// 派单
        /// </summary>
        [Description("派单")]
        ASSIGN=1,
        /// <summary>
        /// 接单
        /// </summary>
        [Description("接单")]
        TAKEORDERS=2,
        /// <summary>
        /// 开始
        /// </summary>
        [Description("开始")]
        START=3,
        /// <summary>
        /// 完成
        /// </summary>
        [Description("完成")]
        DONE = 4,
        /// <summary>
        /// 结算
        /// </summary>
        [Description("结算")]
        SETTLEACCOUNTS = 5,
        /// <summary>
        /// 评价
        /// </summary>
        [Description("评价")]
        RETURNVISIT = 6,
        /// <summary>
        /// 关闭
        /// </summary>
        [Description("关闭")]
        SHUTDOWN = 7,
        /// <summary>
        /// 拒绝
        /// </summary>
        [Description("拒绝")]
        REFUSE = 8,
        /// <summary>
        /// 取消
        /// </summary>
        [Description("取消")]
        CANCELS = 9,
    }
}
